package com.demo.entity;


import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-05-09
 */
public class Book implements Serializable {

    private Long id;

    private String name;

    private BigDecimal price;

    private Integer amount;

    private String secondsKill;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getSecondsKill() {
        return secondsKill;
    }

    public void setSecondsKill(String secondsKill) {
        this.secondsKill = secondsKill;
    }

    @Override
    public String toString() {
        return "Book{" +
        "id = " + id +
        ", name = " + name +
        ", price = " + price +
        ", amount = " + amount +
        ", secondsKill = " + secondsKill +
        "}";
    }
}
